package com.intertid.mongodb.test
import com.intertid.mongodb.annotations.Entity
import org.bson.types.ObjectId
import com.intertid.mongodb.annotations.ID
import scala.reflect.BeanProperty

@Entity
class Role {
  @ID
  @BeanProperty
  var id: ObjectId = _;
  
  @BeanProperty
  var name:String=_;
}